package com.lei.day05lx.contract;

import com.lei.tong.mvp.model.IModel;
import com.lei.tong.mvp.presenter.IPresenter;
import com.lei.tong.mvp.view.IView;

import java.util.HashMap;

import io.reactivex.Observable;

public interface LoginContract {
    interface Model extends IModel {
        Observable login(HashMap<String,String> map);
        Observable register(HashMap<String,String> map);
        Observable dxc(HashMap<String,String> map);
    }

    interface View extends IView {
        String getuser();
        String getpwd();
        void Dxc(String json);
    }

    interface Presenter extends IPresenter {
        void login();
        void register();
        void initdata();
    }
}
